<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>Squadron-Manager » \member</title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">Squadron-Manager</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
                                    API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
<li><a>Packages</a></li>
<li><a href="../packages/Default.html"><i class="icon-folder-open"></i> Default</a></li>
<li><a href="../packages/Squadron-Manager.html"><i class="icon-folder-open"></i> Squadron-Manager</a></li>
<li><a href="../packages/Squadron-manager.html"><i class="icon-folder-open"></i> Squadron-manager</a></li>
</ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
                                    Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
                                    Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
                <span class="label label-info">178</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
                <ul></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
                <span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
                            Javascript is disabled; several features are only available
                            if Javascript is enabled.
                        </div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods
                    <ul>
<li class="method public "><a href="#method___construct" title="__construct :: Creaes the member object"><span class="description">Creaes the member object</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="#method_addEmeregencyContactArray" title="addEmeregencyContactArray :: "><span class="description">addEmeregencyContactArray()
        </span><pre>addEmeregencyContactArray()</pre></a></li>
<li class="method public "><a href="#method_addEmergencyContact" title="addEmergencyContact :: "><span class="description">addEmergencyContact()
        </span><pre>addEmergencyContact()</pre></a></li>
<li class="method public "><a href="#method_approveFields" title="approveFields :: "><span class="description">approveFields()
        </span><pre>approveFields()</pre></a></li>
<li class="method public "><a href="#method_attendance_report" title="attendance_report :: "><span class="description">attendance_report()
        </span><pre>attendance_report()</pre></a></li>
<li class="method public "><a href="#method_checkPassing" title="checkPassing :: Checks if all requirements for promotion are passed"><span class="description">Checks if all requirements for promotion are passed</span><pre>checkPassing()</pre></a></li>
<li class="method public "><a href="#method_check_pass_life" title="check_pass_life :: Checks if the member's password is expired"><span class="description">Checks if the member's password is expired</span><pre>check_pass_life()</pre></a></li>
<li class="method public "><a href="#method_check_password" title="check_password :: Verifies the user provided the right password"><span class="description">Verifies the user provided the right password</span><pre>check_password()</pre></a></li>
<li class="method public "><a href="#method_check_promo_halt" title="check_promo_halt :: Checks if there is a promotion halt due to a failed promotion board"><span class="description">Checks if there is a promotion halt due to a failed promotion board</span><pre>check_promo_halt()</pre></a></li>
<li class="method public "><a href="#method_check_promotion_wait" title="check_promotion_wait :: Checks if there is the regulation required waiting period between a promtion
and the one before it."><span class="description">Checks if there is the regulation required waiting period between a promtion
and the one before it.</span><pre>check_promotion_wait()</pre></a></li>
<li class="method public "><a href="#method_check_terminated" title="check_terminated :: Checks if a member's membership is terminated"><span class="description">Checks if a member's membership is terminated</span><pre>check_terminated()</pre></a></li>
<li class="method public "><a href="#method_discipline_report" title="discipline_report :: "><span class="description">discipline_report()
        </span><pre>discipline_report()</pre></a></li>
<li class="method public "><a href="#method_displayPromoRequest" title="displayPromoRequest :: "><span class="description">displayPromoRequest()
        </span><pre>displayPromoRequest()</pre></a></li>
<li class="method public "><a href="#method_display_Contact" title="display_Contact :: "><span class="description">display_Contact()
        </span><pre>display_Contact()</pre></a></li>
<li class="method public "><a href="#method_display_Emergency" title="display_Emergency :: displays the emergency contact information in tabular form the emergency contact report"><span class="description">displays the emergency contact information in tabular form the emergency contact report</span><pre>display_Emergency()</pre></a></li>
<li class="method public "><a href="#method_editContact" title="editContact :: "><span class="description">editContact()
        </span><pre>editContact()</pre></a></li>
<li class="method public "><a href="#method_editFields" title="editFields :: "><span class="description">editFields()
        </span><pre>editFields()</pre></a></li>
<li class="method public "><a href="#method_editInformation" title="editInformation :: "><span class="description">editInformation()
        </span><pre>editInformation()</pre></a></li>
<li class="method public "><a href="#method_emergency_get" title="emergency_get :: "><span class="description">emergency_get()
        </span><pre>emergency_get()</pre></a></li>
<li class="method public "><a href="#method_exists" title="exists :: "><span class="description">exists()
        </span><pre>exists()</pre></a></li>
<li class="method public "><a href="#method_general_info" title="general_info :: "><span class="description">general_info()
        </span><pre>general_info()</pre></a></li>
<li class="method public "><a href="#method_getCapid" title="getCapid :: "><span class="description">getCapid()
        </span><pre>getCapid()</pre></a></li>
<li class="method public "><a href="#method_getGrade" title="getGrade :: "><span class="description">getGrade()
        </span><pre>getGrade()</pre></a></li>
<li class="method public "><a href="#method_getName_Last" title="getName_Last :: "><span class="description">getName_Last()
        </span><pre>getName_Last()</pre></a></li>
<li class="method public "><a href="#method_getName_first" title="getName_first :: "><span class="description">getName_first()
        </span><pre>getName_first()</pre></a></li>
<li class="method public "><a href="#method_getPicture" title="getPicture :: "><span class="description">getPicture()
        </span><pre>getPicture()</pre></a></li>
<li class="method public "><a href="#method_getPromotionInfo" title="getPromotionInfo :: "><span class="description">getPromotionInfo()
        </span><pre>getPromotionInfo()</pre></a></li>
<li class="method public "><a href="#method_get_achievement" title="get_achievement :: "><span class="description">get_achievement()
        </span><pre>get_achievement()</pre></a></li>
<li class="method public "><a href="#method_get_age" title="get_age :: "><span class="description">get_age()
        </span><pre>get_age()</pre></a></li>
<li class="method public "><a href="#method_get_full_memberType" title="get_full_memberType :: "><span class="description">get_full_memberType()
        </span><pre>get_full_memberType()</pre></a></li>
<li class="method public "><a href="#method_get_gender" title="get_gender :: "><span class="description">get_gender()
        </span><pre>get_gender()</pre></a></li>
<li class="method public "><a href="#method_get_leader_text" title="get_leader_text :: "><span class="description">get_leader_text()
        </span><pre>get_leader_text()</pre></a></li>
<li class="method public "><a href="#method_get_member_type" title="get_member_type :: Returns the member's membership type"><span class="description">Returns the member's membership type</span><pre>get_member_type()</pre></a></li>
<li class="method public "><a href="#method_get_next_achiev" title="get_next_achiev :: "><span class="description">get_next_achiev()
        </span><pre>get_next_achiev()</pre></a></li>
<li class="method public "><a href="#method_get_phase" title="get_phase :: "><span class="description">get_phase()
        </span><pre>get_phase()</pre></a></li>
<li class="method public "><a href="#method_get_text" title="get_text :: "><span class="description">get_text()
        </span><pre>get_text()</pre></a></li>
<li class="method public "><a href="#method_hash_password" title="hash_password :: Creates a password hash."><span class="description">Creates a password hash.</span><pre>hash_password()</pre></a></li>
<li class="method public "><a href="#method_init" title="init :: "><span class="description">init()
        </span><pre>init()</pre></a></li>
<li class="method public "><a href="#method_insertEmergency" title="insertEmergency :: "><span class="description">insertEmergency()
        </span><pre>insertEmergency()</pre></a></li>
<li class="method public "><a href="#method_insertMember" title="insertMember :: "><span class="description">insertMember()
        </span><pre>insertMember()</pre></a></li>
<li class="method public "><a href="#method_insertSingleContact" title="insertSingleContact :: "><span class="description">insertSingleContact()
        </span><pre>insertSingleContact()</pre></a></li>
<li class="method public "><a href="#method_insert_staff_position" title="insert_staff_position :: Insert Staff Positions into the database"><span class="description">Insert Staff Positions into the database</span><pre>insert_staff_position()</pre></a></li>
<li class="method public "><a href="#method_link_report" title="link_report :: "><span class="description">link_report()
        </span><pre>link_report()</pre></a></li>
<li class="method public "><a href="#method_massUpdateFields" title="massUpdateFields :: "><span class="description">massUpdateFields()
        </span><pre>massUpdateFields()</pre></a></li>
<li class="method public "><a href="#method_parsePromoEdit" title="parsePromoEdit :: "><span class="description">parsePromoEdit()
        </span><pre>parsePromoEdit()</pre></a></li>
<li class="method public "><a href="#method_parseWholeEdit" title="parseWholeEdit :: Parses and inputs a complete member promotion report."><span class="description">Parses and inputs a complete member promotion report.</span><pre>parseWholeEdit()</pre></a></li>
<li class="method public "><a href="#method_promo_board_report" title="promo_board_report :: "><span class="description">promo_board_report()
        </span><pre>promo_board_report()</pre></a></li>
<li class="method public "><a href="#method_promote" title="promote :: Enters a member promotion."><span class="description">Enters a member promotion.</span><pre>promote()</pre></a></li>
<li class="method public "><a href="#method_promotionReport" title="promotionReport :: "><span class="description">promotionReport()
        </span><pre>promotionReport()</pre></a></li>
<li class="method public "><a href="#method_reload" title="reload :: Reloads all the membership information from the database"><span class="description">Reloads all the membership information from the database</span><pre>reload()</pre></a></li>
<li class="method public "><a href="#method_replaceOther" title="replaceOther :: "><span class="description">replaceOther()
        </span><pre>replaceOther()</pre></a></li>
<li class="method public "><a href="#method_retrieveCPFTrequire" title="retrieveCPFTrequire :: "><span class="description">retrieveCPFTrequire()
        </span><pre>retrieveCPFTrequire()</pre></a></li>
<li class="method public "><a href="#method_saveUpdates" title="saveUpdates :: "><span class="description">saveUpdates()
        </span><pre>saveUpdates()</pre></a></li>
<li class="method public "><a href="#method_set_password" title="set_password :: Changes the password in the database."><span class="description">Changes the password in the database.</span><pre>set_password()</pre></a></li>
<li class="method public "><a href="#method_signUp" title="signUp :: "><span class="description">signUp()
        </span><pre>signUp()</pre></a></li>
<li class="method public "><a href="#method_sign_in" title="sign_in :: "><span class="description">sign_in()
        </span><pre>sign_in()</pre></a></li>
<li class="method public "><a href="#method_staff_position" title="staff_position :: "><span class="description">staff_position()
        </span><pre>staff_position()</pre></a></li>
<li class="method public "><a href="#method_testSign_up" title="testSign_up :: "><span class="description">testSign_up()
        </span><pre>testSign_up()</pre></a></li>
<li class="method public "><a href="#method_title" title="title :: "><span class="description">title()
        </span><pre>title()</pre></a></li>
<li class="method public "><a href="#method_unit_set" title="unit_set :: "><span class="description">unit_set()
        </span><pre>unit_set()</pre></a></li>
<li class="method public "><a href="#method_updateContact" title="updateContact :: "><span class="description">updateContact()
        </span><pre>updateContact()</pre></a></li>
<li class="method public "><a href="#method_updateFields" title="updateFields :: "><span class="description">updateFields()
        </span><pre>updateFields()</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties
                    <ul><li class="property public "><a href="#property_badInput" title="$badInput :: "><span class="description"></span><pre>$badInput</pre></a></li></ul>
</li>
<li class="nav-header private">» Private
                    <ul>
<li class="property private "><a href="#property_Date_of_Join" title="$Date_of_Join :: "><span class="description"></span><pre>$Date_of_Join</pre></a></li>
<li class="property private "><a href="#property_DoB" title="$DoB :: "><span class="description"></span><pre>$DoB</pre></a></li>
<li class="property private "><a href="#property_achievement" title="$achievement :: "><span class="description"></span><pre>$achievement</pre></a></li>
<li class="property private "><a href="#property_capid" title="$capid :: "><span class="description"></span><pre>$capid</pre></a></li>
<li class="property private "><a href="#property_date_terminated" title="$date_terminated :: "><span class="description"></span><pre>$date_terminated</pre></a></li>
<li class="property private "><a href="#property_emergencyContacts" title="$emergencyContacts :: "><span class="description"></span><pre>$emergencyContacts</pre></a></li>
<li class="property private "><a href="#property_gender" title="$gender :: "><span class="description"></span><pre>$gender</pre></a></li>
<li class="property private "><a href="#property_initLevel" title="$initLevel :: "><span class="description"></span><pre>$initLevel</pre></a></li>
<li class="property private "><a href="#property_isEmpty" title="$isEmpty :: "><span class="description"></span><pre>$isEmpty</pre></a></li>
<li class="property private "><a href="#property_memberType" title="$memberType :: "><span class="description"></span><pre>$memberType</pre></a></li>
<li class="property private "><a href="#property_name_first" title="$name_first :: "><span class="description"></span><pre>$name_first</pre></a></li>
<li class="property private "><a href="#property_name_last" title="$name_last :: "><span class="description"></span><pre>$name_last</pre></a></li>
<li class="property private "><a href="#property_promoRecord" title="$promoRecord :: "><span class="description"></span><pre>$promoRecord</pre></a></li>
<li class="property private "><a href="#property_text_set" title="$text_set :: "><span class="description"></span><pre>$text_set</pre></a></li>
<li class="property private "><a href="#property_unit" title="$unit :: "><span class="description"></span><pre>$unit</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\member"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/global.html">global</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/member.html">member</a>
</li>
</ul>
<div class="element class">
<p class="short_description">A class for CAP members</p>
<div class="details">
<div class="long_description"><p>It holds all the functions, and data for members. The amount of Data held is based on the init levels</p>

<p>init levels :
-1= all from input
0=capid
1=capid+name+gender+achievement
2=1+text+member_type+picture
3=2+dates
4=3+emergency+unit</p></div>
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
<h2>Creaes the member object</h2>
<pre>__construct(Integer | \numeric $capid, Integer $level, <a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident, String $name_last, String $name_first, string $gender, \dateTime $DoB, String $memberType, String $achievement, String $text_set, String $unit, \DateTime $Date_of_Join) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$capid</h4>
<code>Integer</code><code>\numeric</code><p>string $capid the capid of the member</p>
</div>
<div class="subelement argument">
<h4>$level</h4>
<code>Integer</code><p>the init level to start at, -1 if you want to enter the data and not get it from the database</p>
</div>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<div class="subelement argument">
<h4>$name_last</h4>
<code>String</code><p>the Last name</p></div>
<div class="subelement argument">
<h4>$name_first</h4>
<code>String</code><p>The first name</p></div>
<div class="subelement argument">
<h4>$gender</h4>
<code>string</code><p>the gender of the member</p></div>
<div class="subelement argument">
<h4>$DoB</h4>
<code>\dateTime</code><p>the member's date of birth</p>
</div>
<div class="subelement argument">
<h4>$memberType</h4>
<code>String</code><p>the member's member type</p>
</div>
<div class="subelement argument">
<h4>$achievement</h4>
<code>String</code><p>the member's current achievement</p>
</div>
<div class="subelement argument">
<h4>$text_set</h4>
<code>String</code><p>the member's textbook set</p>
</div>
<div class="subelement argument">
<h4>$unit</h4>
<code>String</code><p>the member's home unit</p>
</div>
<div class="subelement argument">
<h4>$Date_of_Join</h4>
<code><a href="http://php.net/manual/en/class.datetime.php">\DateTime</a></code><p>the date the member joined</p></div>
</div></div>
</div>
<a id="method_addEmeregencyContactArray"></a><div class="element clickable method public method_addEmeregencyContactArray" data-toggle="collapse" data-target=".method_addEmeregencyContactArray .collapse">
<h2>addEmeregencyContactArray()
        </h2>
<pre>addEmeregencyContactArray(array $input) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$input</h4></div>
</div></div>
</div>
<a id="method_addEmergencyContact"></a><div class="element clickable method public method_addEmergencyContact" data-toggle="collapse" data-target=".method_addEmergencyContact .collapse">
<h2>addEmergencyContact()
        </h2>
<pre>addEmergencyContact($Name, $relation, $number) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$Name</h4></div>
<div class="subelement argument"><h4>$relation</h4></div>
<div class="subelement argument"><h4>$number</h4></div>
</div></div>
</div>
<a id="method_approveFields"></a><div class="element clickable method public method_approveFields" data-toggle="collapse" data-target=".method_approveFields .collapse">
<h2>approveFields()
        </h2>
<pre>approveFields($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_attendance_report"></a><div class="element clickable method public method_attendance_report" data-toggle="collapse" data-target=".method_attendance_report .collapse">
<h2>attendance_report()
        </h2>
<pre>attendance_report($ident, $header, $event) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
<div class="subelement argument"><h4>$event</h4></div>
</div></div>
</div>
<a id="method_checkPassing"></a><div class="element clickable method public method_checkPassing" data-toggle="collapse" data-target=".method_checkPassing .collapse">
<h2>Checks if all requirements for promotion are passed</h2>
<pre>checkPassing(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident, \DateTime $date) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<div class="subelement argument">
<h4>$date</h4>
<code>\dateTime</code><p>the date for the promotion</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>true if and only if all requirements are passed false otherwise</div>
</div></div>
</div>
<a id="method_check_pass_life"></a><div class="element clickable method public method_check_pass_life" data-toggle="collapse" data-target=".method_check_pass_life .collapse">
<h2>Checks if the member's password is expired</h2>
<pre>check_pass_life(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident) : mixed</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>mixed</code>true if the password is expired, otherwise the number of days to the expiration</div>
</div></div>
</div>
<a id="method_check_password"></a><div class="element clickable method public method_check_password" data-toggle="collapse" data-target=".method_check_password .collapse">
<h2>Verifies the user provided the right password</h2>
<pre>check_password(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident, String $pass, String $salt) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Uses member::has_password() to create a password hash, and compares it to
the hash in the member table</p></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<div class="subelement argument">
<h4>$pass</h4>
<code>String</code><p>the password to check</p></div>
<div class="subelement argument">
<h4>$salt</h4>
<code>String</code><p>the system salt</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>true if it matches false otherwise</div>
</div></div>
</div>
<a id="method_check_promo_halt"></a><div class="element clickable method public method_check_promo_halt" data-toggle="collapse" data-target=".method_check_promo_halt .collapse">
<h2>Checks if there is a promotion halt due to a failed promotion board</h2>
<pre>check_promo_halt(\type $ident) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code>\type</code><p>the database connection</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>true if the promotions are halted, false if otherwise</div>
</div></div>
</div>
<a id="method_check_promotion_wait"></a><div class="element clickable method public method_check_promotion_wait" data-toggle="collapse" data-target=".method_check_promotion_wait .collapse">
<h2>Checks if there is the regulation required waiting period between a promtion
and the one before it.</h2>
<pre>check_promotion_wait(\type $ident, \type $achiev, \DateTime $date) : \booleann | \dateTime</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code>\type</code><p>the databse connection</p></div>
<div class="subelement argument">
<h4>$achiev</h4>
<code>\type</code><p>the achievement your checking for</p></div>
<div class="subelement argument">
<h4>$date</h4>
<code>\dateTime</code><p>the date to check for this</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>\booleann</code><code>\dateTime</code>returns true if enough time has passed, otherwise returns a dateTime of when it will
be enough time</div>
</div></div>
</div>
<a id="method_check_terminated"></a><div class="element clickable method public method_check_terminated" data-toggle="collapse" data-target=".method_check_terminated .collapse">
<h2>Checks if a member's membership is terminated</h2>
<pre>check_terminated(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>true if the member is terminated false if not</div>
</div></div>
</div>
<a id="method_discipline_report"></a><div class="element clickable method public method_discipline_report" data-toggle="collapse" data-target=".method_discipline_report .collapse">
<h2>discipline_report()
        </h2>
<pre>discipline_report($ident, $header) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
</div></div>
</div>
<a id="method_displayPromoRequest"></a><div class="element clickable method public method_displayPromoRequest" data-toggle="collapse" data-target=".method_displayPromoRequest .collapse">
<h2>displayPromoRequest()
        </h2>
<pre>displayPromoRequest(array $header, boolean $disPlayDates, boolean $canEdit, boolean $approved, boolean $showPromo) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$header</h4>
<code>array</code><p>the array of the requirement_types from the header section</p></div>
<div class="subelement argument">
<h4>$disPlayDates</h4>
<code>boolean</code><p>weather or not to display the dates for promotions</p></div>
<div class="subelement argument">
<h4>$canEdit</h4>
<code>boolean</code><p>weather or not they can change the information or if read-only</p>
</div>
<div class="subelement argument">
<h4>$approved</h4>
<code>boolean</code><p>weather or not the promotion is approved</p></div>
<div class="subelement argument">
<h4>$showPromo</h4>
<code>boolean</code><p>whether or not to show as a whole promotion report, false will show name in the row, true won't</p>
</div>
</div></div>
</div>
<a id="method_display_Contact"></a><div class="element clickable method public method_display_Contact" data-toggle="collapse" data-target=".method_display_Contact .collapse">
<h2>display_Contact()
        </h2>
<pre>display_Contact($ident, $head_name) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$head_name</h4></div>
</div></div>
</div>
<a id="method_display_Emergency"></a><div class="element clickable method public method_display_Emergency" data-toggle="collapse" data-target=".method_display_Emergency .collapse">
<h2>displays the emergency contact information in tabular form the emergency contact report</h2>
<pre>display_Emergency($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_editContact"></a><div class="element clickable method public method_editContact" data-toggle="collapse" data-target=".method_editContact .collapse">
<h2>editContact()
        </h2>
<pre>editContact($submit, $identifier, $page) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$submit</h4></div>
<div class="subelement argument"><h4>$identifier</h4></div>
<div class="subelement argument"><h4>$page</h4></div>
</div></div>
</div>
<a id="method_editFields"></a><div class="element clickable method public method_editFields" data-toggle="collapse" data-target=".method_editFields .collapse">
<h2>editFields()
        </h2>
<pre>editFields(array $input, $ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$input</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_editInformation"></a><div class="element clickable method public method_editInformation" data-toggle="collapse" data-target=".method_editInformation .collapse">
<h2>editInformation()
        </h2>
<pre>editInformation($page, $identifier) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$page</h4></div>
<div class="subelement argument"><h4>$identifier</h4></div>
</div></div>
</div>
<a id="method_emergency_get"></a><div class="element clickable method public method_emergency_get" data-toggle="collapse" data-target=".method_emergency_get .collapse">
<h2>emergency_get()
        </h2>
<pre>emergency_get($index) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$index</h4></div>
</div></div>
</div>
<a id="method_exists"></a><div class="element clickable method public method_exists" data-toggle="collapse" data-target=".method_exists .collapse">
<h2>exists()
        </h2>
<pre>exists() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_general_info"></a><div class="element clickable method public method_general_info" data-toggle="collapse" data-target=".method_general_info .collapse">
<h2>general_info()
        </h2>
<pre>general_info($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_getCapid"></a><div class="element clickable method public method_getCapid" data-toggle="collapse" data-target=".method_getCapid .collapse">
<h2>getCapid()
        </h2>
<pre>getCapid() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_getGrade"></a><div class="element clickable method public method_getGrade" data-toggle="collapse" data-target=".method_getGrade .collapse">
<h2>getGrade()
        </h2>
<pre>getGrade($ident, $abreviated) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$abreviated</h4></div>
</div></div>
</div>
<a id="method_getName_Last"></a><div class="element clickable method public method_getName_Last" data-toggle="collapse" data-target=".method_getName_Last .collapse">
<h2>getName_Last()
        </h2>
<pre>getName_Last() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_getName_first"></a><div class="element clickable method public method_getName_first" data-toggle="collapse" data-target=".method_getName_first .collapse">
<h2>getName_first()
        </h2>
<pre>getName_first() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_getPicture"></a><div class="element clickable method public method_getPicture" data-toggle="collapse" data-target=".method_getPicture .collapse">
<h2>getPicture()
        </h2>
<pre>getPicture() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_getPromotionInfo"></a><div class="element clickable method public method_getPromotionInfo" data-toggle="collapse" data-target=".method_getPromotionInfo .collapse">
<h2>getPromotionInfo()
        </h2>
<pre>getPromotionInfo($promoFor, \mysqli $ident, $name) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$promoFor</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$name</h4></div>
</div></div>
</div>
<a id="method_get_achievement"></a><div class="element clickable method public method_get_achievement" data-toggle="collapse" data-target=".method_get_achievement .collapse">
<h2>get_achievement()
        </h2>
<pre>get_achievement() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_get_age"></a><div class="element clickable method public method_get_age" data-toggle="collapse" data-target=".method_get_age .collapse">
<h2>get_age()
        </h2>
<pre>get_age($ident, \DateTime $date) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$date</h4></div>
</div></div>
</div>
<a id="method_get_full_memberType"></a><div class="element clickable method public method_get_full_memberType" data-toggle="collapse" data-target=".method_get_full_memberType .collapse">
<h2>get_full_memberType()
        </h2>
<pre>get_full_memberType($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_get_gender"></a><div class="element clickable method public method_get_gender" data-toggle="collapse" data-target=".method_get_gender .collapse">
<h2>get_gender()
        </h2>
<pre>get_gender() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_get_leader_text"></a><div class="element clickable method public method_get_leader_text" data-toggle="collapse" data-target=".method_get_leader_text .collapse">
<h2>get_leader_text()
        </h2>
<pre>get_leader_text($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_get_member_type"></a><div class="element clickable method public method_get_member_type" data-toggle="collapse" data-target=".method_get_member_type .collapse">
<h2>Returns the member's membership type</h2>
<pre>get_member_type() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response">
<code>string</code>the member's membership type</div>
</div></div>
</div>
<a id="method_get_next_achiev"></a><div class="element clickable method public method_get_next_achiev" data-toggle="collapse" data-target=".method_get_next_achiev .collapse">
<h2>get_next_achiev()
        </h2>
<pre>get_next_achiev(\type $ident) : String</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code>\type</code><p>the ident for the</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>String</code>the next achievement code false on an error</div>
</div></div>
</div>
<a id="method_get_phase"></a><div class="element clickable method public method_get_phase" data-toggle="collapse" data-target=".method_get_phase .collapse">
<h2>get_phase()
        </h2>
<pre>get_phase($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_get_text"></a><div class="element clickable method public method_get_text" data-toggle="collapse" data-target=".method_get_text .collapse">
<h2>get_text()
        </h2>
<pre>get_text() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_hash_password"></a><div class="element clickable method public method_hash_password" data-toggle="collapse" data-target=".method_hash_password .collapse">
<h2>Creates a password hash.</h2>
<pre>hash_password(\type $pass, \type $salt) : String</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Creates a SHA512 hash from the password, salted with the member's capid,
and the passed salt.</p></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$pass</h4>
<code>\type</code><p>the password to create a hash from</p></div>
<div class="subelement argument">
<h4>$salt</h4>
<code>\type</code><p>the salt to add to the password</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>String</code>128 digit hash</div>
</div></div>
</div>
<a id="method_init"></a><div class="element clickable method public method_init" data-toggle="collapse" data-target=".method_init .collapse">
<h2>init()
        </h2>
<pre>init($level, $ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$level</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_insertEmergency"></a><div class="element clickable method public method_insertEmergency" data-toggle="collapse" data-target=".method_insertEmergency .collapse">
<h2>insertEmergency()
        </h2>
<pre>insertEmergency($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_insertMember"></a><div class="element clickable method public method_insertMember" data-toggle="collapse" data-target=".method_insertMember .collapse">
<h2>insertMember()
        </h2>
<pre>insertMember($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_insertSingleContact"></a><div class="element clickable method public method_insertSingleContact" data-toggle="collapse" data-target=".method_insertSingleContact .collapse">
<h2>insertSingleContact()
        </h2>
<pre>insertSingleContact($row, $ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$row</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_insert_staff_position"></a><div class="element clickable method public method_insert_staff_position" data-toggle="collapse" data-target=".method_insert_staff_position .collapse">
<h2>Insert Staff Positions into the database</h2>
<pre>insert_staff_position(array $input, \type $ident) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$input</h4>
<code>array</code><p>the array of the checked boxes</p></div>
<div class="subelement argument">
<h4>$ident</h4>
<code>\type</code><p>the database connection</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>true success false if fail!</div>
</div></div>
</div>
<a id="method_link_report"></a><div class="element clickable method public method_link_report" data-toggle="collapse" data-target=".method_link_report .collapse">
<h2>link_report()
        </h2>
<pre>link_report($new_tab) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$new_tab</h4></div>
</div></div>
</div>
<a id="method_massUpdateFields"></a><div class="element clickable method public method_massUpdateFields" data-toggle="collapse" data-target=".method_massUpdateFields .collapse">
<h2>massUpdateFields()
        </h2>
<pre>massUpdateFields(array $input) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$input</h4></div>
</div></div>
</div>
<a id="method_parsePromoEdit"></a><div class="element clickable method public method_parsePromoEdit" data-toggle="collapse" data-target=".method_parsePromoEdit .collapse">
<h2>parsePromoEdit()
        </h2>
<pre>parsePromoEdit(\mysqli_stmt $insert, \mysqli_stmt $update, \mysqli_stmt $delete, array $header, array $input, $achiev) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$insert</h4></div>
<div class="subelement argument"><h4>$update</h4></div>
<div class="subelement argument"><h4>$delete</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
<div class="subelement argument"><h4>$input</h4></div>
<div class="subelement argument"><h4>$achiev</h4></div>
</div></div>
</div>
<a id="method_parseWholeEdit"></a><div class="element clickable method public method_parseWholeEdit" data-toggle="collapse" data-target=".method_parseWholeEdit .collapse">
<h2>Parses and inputs a complete member promotion report.</h2>
<pre>parseWholeEdit(\type $ident, array $input) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Hands the input 1 achievement at a time to $this->parsePromoEdit() to parse all inputs.</p></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code>\type</code><p>the database connection</p></div>
<div class="subelement argument">
<h4>$input</h4>
<code>array</code><p>the input array from POST or other submission method</p></div>
</div></div>
</div>
<a id="method_promo_board_report"></a><div class="element clickable method public method_promo_board_report" data-toggle="collapse" data-target=".method_promo_board_report .collapse">
<h2>promo_board_report()
        </h2>
<pre>promo_board_report($ident, $header) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
</div></div>
</div>
<a id="method_promote"></a><div class="element clickable method public method_promote" data-toggle="collapse" data-target=".method_promote .collapse">
<h2>Enters a member promotion.</h2>
<pre>promote(String $achiev, \dateTime $date, \mysqli $ident) : boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>If promotion is most recent update member records</p></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$achiev</h4>
<code>String</code><p>the achievement the promotion's for</p>
</div>
<div class="subelement argument">
<h4>$date</h4>
<code>\dateTime</code><p>the date of the promotion</p></div>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<h3>Returns</h3>
<div class="subelement response">
<code>boolean</code>True on success false on failure</div>
</div></div>
</div>
<a id="method_promotionReport"></a><div class="element clickable method public method_promotionReport" data-toggle="collapse" data-target=".method_promotionReport .collapse">
<h2>promotionReport()
        </h2>
<pre>promotionReport($ident, $header, $date, $edit) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
<div class="subelement argument"><h4>$date</h4></div>
<div class="subelement argument"><h4>$edit</h4></div>
</div></div>
</div>
<a id="method_reload"></a><div class="element clickable method public method_reload" data-toggle="collapse" data-target=".method_reload .collapse">
<h2>Reloads all the membership information from the database</h2>
<pre>reload(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
</div></div>
</div>
<a id="method_replaceOther"></a><div class="element clickable method public method_replaceOther" data-toggle="collapse" data-target=".method_replaceOther .collapse">
<h2>replaceOther()
        </h2>
<pre>replaceOther($index, $relatCode) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$index</h4></div>
<div class="subelement argument"><h4>$relatCode</h4></div>
</div></div>
</div>
<a id="method_retrieveCPFTrequire"></a><div class="element clickable method public method_retrieveCPFTrequire" data-toggle="collapse" data-target=".method_retrieveCPFTrequire .collapse">
<h2>retrieveCPFTrequire()
        </h2>
<pre>retrieveCPFTrequire($ident, \DateTime $date) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$date</h4></div>
</div></div>
</div>
<a id="method_saveUpdates"></a><div class="element clickable method public method_saveUpdates" data-toggle="collapse" data-target=".method_saveUpdates .collapse">
<h2>saveUpdates()
        </h2>
<pre>saveUpdates($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_set_password"></a><div class="element clickable method public method_set_password" data-toggle="collapse" data-target=".method_set_password .collapse">
<h2>Changes the password in the database.</h2>
<pre>set_password(<a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a> $ident, String $hash) : Boolean</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$ident</h4>
<code><a href="http://php.net/manual/en/class.mysqli.php">\mysqli</a></code><p>the database connection</p></div>
<div class="subelement argument">
<h4>$hash</h4>
<code>String</code><p>the hash of the password from hash_password()</p>
</div>
<h3>Returns</h3>
<div class="subelement response">
<code>Boolean</code>true on success.</div>
</div></div>
</div>
<a id="method_signUp"></a><div class="element clickable method public method_signUp" data-toggle="collapse" data-target=".method_signUp .collapse">
<h2>signUp()
        </h2>
<pre>signUp(array $input, $ident, $message) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$input</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$message</h4></div>
</div></div>
</div>
<a id="method_sign_in"></a><div class="element clickable method public method_sign_in" data-toggle="collapse" data-target=".method_sign_in .collapse">
<h2>sign_in()
        </h2>
<pre>sign_in($ident, $message, $event_code) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$message</h4></div>
<div class="subelement argument"><h4>$event_code</h4></div>
</div></div>
</div>
<a id="method_staff_position"></a><div class="element clickable method public method_staff_position" data-toggle="collapse" data-target=".method_staff_position .collapse">
<h2>staff_position()
        </h2>
<pre>staff_position($ident, $header) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$header</h4></div>
</div></div>
</div>
<a id="method_testSign_up"></a><div class="element clickable method public method_testSign_up" data-toggle="collapse" data-target=".method_testSign_up .collapse">
<h2>testSign_up()
        </h2>
<pre>testSign_up($ident, $target) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
<div class="subelement argument"><h4>$target</h4></div>
</div></div>
</div>
<a id="method_title"></a><div class="element clickable method public method_title" data-toggle="collapse" data-target=".method_title .collapse">
<h2>title()
        </h2>
<pre>title() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_unit_set"></a><div class="element clickable method public method_unit_set" data-toggle="collapse" data-target=".method_unit_set .collapse">
<h2>unit_set()
        </h2>
<pre>unit_set(\unit $unit) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$unit</h4></div>
</div></div>
</div>
<a id="method_updateContact"></a><div class="element clickable method public method_updateContact" data-toggle="collapse" data-target=".method_updateContact .collapse">
<h2>updateContact()
        </h2>
<pre>updateContact($row, $oldRelat, $ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$row</h4></div>
<div class="subelement argument"><h4>$oldRelat</h4></div>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<a id="method_updateFields"></a><div class="element clickable method public method_updateFields" data-toggle="collapse" data-target=".method_updateFields .collapse">
<h2>updateFields()
        </h2>
<pre>updateFields($ident) </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$ident</h4></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a id="property_badInput"> </a><div class="element clickable property public property_badInput" data-toggle="collapse" data-target=".property_badInput .collapse">
<h2></h2>
<pre>$badInput </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_Date_of_Join"> </a><div class="element clickable property private property_Date_of_Join" data-toggle="collapse" data-target=".property_Date_of_Join .collapse">
<h2></h2>
<pre>$Date_of_Join </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_DoB"> </a><div class="element clickable property private property_DoB" data-toggle="collapse" data-target=".property_DoB .collapse">
<h2></h2>
<pre>$DoB </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_achievement"> </a><div class="element clickable property private property_achievement" data-toggle="collapse" data-target=".property_achievement .collapse">
<h2></h2>
<pre>$achievement </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_capid"> </a><div class="element clickable property private property_capid" data-toggle="collapse" data-target=".property_capid .collapse">
<h2></h2>
<pre>$capid </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_date_terminated"> </a><div class="element clickable property private property_date_terminated" data-toggle="collapse" data-target=".property_date_terminated .collapse">
<h2></h2>
<pre>$date_terminated </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_emergencyContacts"> </a><div class="element clickable property private property_emergencyContacts" data-toggle="collapse" data-target=".property_emergencyContacts .collapse">
<h2></h2>
<pre>$emergencyContacts </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_gender"> </a><div class="element clickable property private property_gender" data-toggle="collapse" data-target=".property_gender .collapse">
<h2></h2>
<pre>$gender </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_initLevel"> </a><div class="element clickable property private property_initLevel" data-toggle="collapse" data-target=".property_initLevel .collapse">
<h2></h2>
<pre>$initLevel </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_isEmpty"> </a><div class="element clickable property private property_isEmpty" data-toggle="collapse" data-target=".property_isEmpty .collapse">
<h2></h2>
<pre>$isEmpty </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_memberType"> </a><div class="element clickable property private property_memberType" data-toggle="collapse" data-target=".property_memberType .collapse">
<h2></h2>
<pre>$memberType </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_name_first"> </a><div class="element clickable property private property_name_first" data-toggle="collapse" data-target=".property_name_first .collapse">
<h2></h2>
<pre>$name_first </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_name_last"> </a><div class="element clickable property private property_name_last" data-toggle="collapse" data-target=".property_name_last .collapse">
<h2></h2>
<pre>$name_last </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_promoRecord"> </a><div class="element clickable property private property_promoRecord" data-toggle="collapse" data-target=".property_promoRecord .collapse">
<h2></h2>
<pre>$promoRecord </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_text_set"> </a><div class="element clickable property private property_text_set" data-toggle="collapse" data-target=".property_text_set .collapse">
<h2></h2>
<pre>$text_set </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_unit"> </a><div class="element clickable property private property_unit" data-toggle="collapse" data-target=".property_unit .collapse">
<h2></h2>
<pre>$unit </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
</div>
</div>
</div>
</div>
<div class="row"><footer class="span12">
            Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
            Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a12</a> and<br>
            generated on 2013-10-13T16:49:20-06:00.<br></footer></div>
</div>
</body>
</html>
